import string,random
with open('big.txt', 'w+', encoding="utf-8") as f:
    for i in range(5):
        f.write((''.join(random.choices(string.ascii_lowercase,k = random.randint(1,10)))+'\n'))
with open('big.txt','r+',encoding='utf-8') as f1:
    f1 = [len((i.strip())) for i in f1]
    a = max(f1)
print(a)